package com.daxt.model.service.base.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "岗位", description = "岗位")
@TableName("base_post")
public class Post implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@TableId(value = "id", type = IdType.AUTO)
//	@TableId(value = "id", type = IdType.NONE)
	private Long id;
	
	@ApiModelProperty(value = "岗位编码", name = "code")
	private String code;
	@ApiModelProperty(value = "岗位名称", name = "name")
	private String name;
	@ApiModelProperty(value = "排序", name = "sort")
	private int sort;
	@ApiModelProperty(value = "创建人", name = "createBy")
	private String createBy;
	@ApiModelProperty(value = "创建时间", name = "createTime")
	private String createTime;


//	@ApiModelProperty(value = "部门ID", name = "deptId")
//	private String deptId;
//	@ApiModelProperty(value = "外部ID", name = "extId")
//	private String  extId;

}
